<!DOCTYPE html>
<html lang="hxy" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>测试</title>
    <th:block th:include="include :: header('新增')"/>
    <th:block th:include="include :: layout-latest-css"/>
    <th:block th:include="include :: ztree-css"/>
    <th:block th:include="include :: datetimepicker-css" />
    <th:block th:include="include :: datetimepicker-js" />
</head>

<body class="gray-bg">

<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-dept-add">
        <div class="form-group">
            <label class="col-sm-3 control-label">项目名称（选填）：</label>
            <div class="col-sm-8">
                <select class="form-control">
                    <option value="">项目名称</option>
                    <option th:each="pro:${projectinfos}" th:value="${pro.id }"
                            th:text="${pro.proName }"></option>

                </select>
            </div>

        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label ">机械编号（手填）：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="title" id="jxxh" required>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label ">劳务公司（自动带入）：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="title" id="jxxh" required>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label ">机械类型名称（带入）：</label>
            <div class="col-sm-8">
                <select class="form-control">

                    <option value="">机械类型名称</option>
                    <option th:each="pro:${projectinfos}" th:value="${pro.id }"
                            th:text="${pro.proName }"></option>

                </select>

                </select>
            </div>
        </div>


        <div class="form-group">
            <label class="col-sm-3 control-label">工作天数（手填）：</label>
            <div class="col-sm-8">
                <!--只能输入数字和小数点-->
                <input type="text" class="txt" name="qty" value="" onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')" />
            </div>

        </div>


        <div class="form-group">
            <label class="col-sm-3 control-label ">加油量（手填）：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="title" id="jxxh" required>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label ">是否工作（选填）：</label>
            <div class="col-sm-8">
                <select class="form-control">
                    <option value="">是</option>
                    <option value="">否</option>
                </select>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label ">扣除工作时间（选填）：</label>
            <div class="col-sm-8">
                <select class="form-control">
                    <option value="">是</option>
                    <option value="">否</option>
                </select>
            </div>
        </div>



    </form>
</div>
</body>

</html>